﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Default.Master" AutoEventWireup="true" CodeBehind="Premises.aspx.cs" Inherits="MockPrjTeam2.Pages.Forms.Premises" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<link href="../../Resource/CSS/style/reset.css" rel="stylesheet" type="text/css" />
    <link href="../../Resource/CSS/style/root.css" rel="stylesheet" type="text/css" />
    <link href="../../Resource/CSS/style/grid.css" rel="stylesheet" type="text/css" />
    <link href="../../Resource/CSS/style/typography.css" rel="stylesheet" type="text/css" />
    <link href="../../Resource/CSS/style/jquery-ui.css" rel="stylesheet" type="text/css" />
    <link href="../../Resource/CSS/style/jquery-plugin-base.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="<%= Page.ResolveUrl("../../Resource/JS/js/jquery.min.js") %>"></script>
    <script type="text/javascript" src="<%= Page.ResolveUrl("../../Resource/JS/js/toogle.js") %>"></script>
    <script type="text/javascript" src="<%= Page.ResolveUrl("../../Resource/JS/js/jquery.tipsy.js") %>"></script>
    <script type="text/javascript" src="<%= Page.ResolveUrl("../../Resource/JS/js/jquery.uniform.min.js") %>"></script>
    <script type="text/javascript" src="<%= Page.ResolveUrl("../../Resource/JS/js/jquery.tablesorter.min.js") %>"></script>
    <script type="text/javascript" src="<%= Page.ResolveUrl("../../Resource/JS/js/popup.js") %>"></script>
    <script type="text/javascript" src="<%= Page.ResolveUrl("../../Resource/JS/js/jquery.ui.widget.js") %>"></script>
    <script type="text/javascript" src="<%= Page.ResolveUrl("../../Resource/JS/js/jquery.ui.accordion.js") %>"></script>
    <script type="text/javascript" src="<%= Page.ResolveUrl("../../Resource/JS/js/jquery.ui.tabs.js") %>"></script>
    <script type="text/javascript">
        $(function () {
            $("#tabs").tabs();
        });

        function ConfirmApproval(message) {
            if (confirm(message)) {
            } else {

            }
        }
    </script>
    <div class="grid740 simplebox relative">
        <div id="tabs">
            <ul>
                <li>
                    <asp:HyperLink ID="LinkDetails01" NavigateUrl="#DetailsPanel01" runat="server">Details 1</asp:HyperLink></li>
                <li>
                    <asp:HyperLink ID="LinkDetails02" NavigateUrl="#DetailsPanel02" runat="server">Details 2</asp:HyperLink></li>
                <li>
                    <asp:HyperLink ID="LinkDetails03" NavigateUrl="#DetailsPanel03" runat="server">Details 3</asp:HyperLink></li>
                <li>
                    <asp:HyperLink ID="LinkContract" runat="server"></asp:HyperLink></li>
            </ul>
            <span class="top-right-cornor">
                <asp:Button CssClass="button" ID="btnSave" runat="server" Text="Save" ValidationGroup="service"
                    OnClick="btnSave_Click" />
                <asp:Button CssClass="button" ID="btnBack" runat="server" Text="Back" />
            </span>
            <asp:ScriptManager ID="scrService" runat="server">
            </asp:ScriptManager>
            <asp:Panel ID="DetailsPanel01" ClientIDMode="Static" runat="server">
                <div class="st-form-line-noleft">
                    <div class="half">
                        <span class="st-labeltext">Location Name</span>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*"
                            ControlToValidate="txtLocationName" ForeColor="Red" 
                            ValidationGroup="service"></asp:RequiredFieldValidator>
                        <asp:TextBox ID="txtLocationName" CssClass="st-forminput" runat="server" Width="189px"
                            ValidationGroup="service" Height="28px"></asp:TextBox></div>
                    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                        <ContentTemplate>
                            <div class="half last">
                                <span class="st-labeltext level1-5">Primary Location</span>
                                <asp:CheckBox ID="chkServiceActive" runat="server" AutoPostBack="True"/>
                            </div>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                    <div class="clear">
                    </div>
                </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                        <span class="st-labeltext">Known As</span>
                        <asp:TextBox ID="KnownAs" CssClass="st-forminput" runat="server" Width="187px" 
                            Rows="3" ValidationGroup="service" Height="29px"></asp:TextBox></div>
                    <div class="half last">
                        <span class="st-labeltext level1">Location Managed</span>
                        <asp:CheckBox ID="ChkLocationManaged" runat="server" />
                    </div>
                    <div class="clear">
                    </div>
                </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                        <span class="st-labeltext level1">Location Organisation</span>
                        <asp:TextBox ID="TextBox3" runat="server" Height="25px" Width="146px"></asp:TextBox>
                        <asp:LinkButton ID="lbtLocationOrganisation" runat="server">Lookup</asp:LinkButton>
                    </div>
                    <div class="half last">
                        <span class="st-labeltext level1">ST Network Conectivity</span>
                        <asp:CheckBox ID="CheckBox2" runat="server" />
                    </div>
                    <div class="clear">
                    </div>
                </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                        <span class="st-labeltext">Location status</span>
                        <asp:DropDownList ID="cboReferralProcessMethod0" runat="server" Width="215px" 
                            CssClass="st-forminput">
                            <asp:ListItem>--Select--</asp:ListItem>
                            <asp:ListItem>Referral Process 1</asp:ListItem>
                            <asp:ListItem>Referral Process 2</asp:ListItem>
                            <asp:ListItem>Referral Process 3</asp:ListItem>
                            <asp:ListItem>Referral Process 4</asp:ListItem>
                            <asp:ListItem>Referral Process 5</asp:ListItem>
                        </asp:DropDownList>
                    </div>
                    <div class="half last">
                        <span class="st-labeltext level1">Location Type</span>
<div class="st-forminput left check-box-list">
                            <asp:CheckBoxList ID="CheckBoxList3" runat="server" DataTextField="ItemName"
                                DataValueField="Id">
                                <asp:ListItem>Service Disabilities Criterion 1</asp:ListItem>
                                <asp:ListItem>Service Disabilities Criterion 2</asp:ListItem>
                                <asp:ListItem>Service Disabilities Criterion 3</asp:ListItem>
                                <asp:ListItem>Service Disabilities Criterion 4</asp:ListItem>
                                <asp:ListItem>Service Disabilities Criterion 5</asp:ListItem>
                            </asp:CheckBoxList>
                        </div>
                    </div>
                    <div class="clear">
                    </div>
                </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                        <span class="st-labeltext level1">Location Date</span>
                        </div>
                    <div class="half last">
                        <span class="st-labeltext">Location Description</span>
                        <asp:TextBox ID="txtServiceDescriptionDelivery" CssClass="st-forminput" runat="server"
                            Width="210px" TextMode="MultiLine" Rows="3"></asp:TextBox>
                    </div>
                    <div class="clear">
                    </div>
                </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                        <span class="st-labeltext level1">Address Line1</span>
                        <asp:TextBox ID="KnownAs0" runat="server" CssClass="st-forminput" Rows="3" 
                            ValidationGroup="service" Width="201px" Height="28px"></asp:TextBox>
                    </div>
                    <div class="half last">
                        <span class="st-labeltext">Phone Number</span>
                        <asp:TextBox ID="txtServiceContractCode" runat="server" CssClass="st-forminput" 
                            Width="206px" Height="24px"></asp:TextBox>
                    </div>
                    <div class="clear">
                    </div>
                </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                        <span class="st-labeltext">Address Line2</span>
                        <asp:UpdatePanel ID="upnlStartExpected" runat="server">
                            <ContentTemplate>
                                <asp:TextBox ID="KnownAs1" runat="server" Width="205px" CssClass="st-forminput" 
                                    Rows="3" ValidationGroup="service" Height="22px"></asp:TextBox>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </div>
                    <div class="half last">
                        <span class="st-labeltext">General Fax Number</span>
                        <asp:TextBox ID="txtServiceContractValue" CssClass="st-forminput" runat="server"
                            Width="210px"></asp:TextBox>
                    </div>
                    <div class="clear">
                    </div>
                </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                        <span class="st-labeltext">Address Line3</span>
                        <asp:UpdatePanel ID="upnlStartDate" runat="server">
                            <ContentTemplate>
                                <asp:TextBox ID="KnownAs2" runat="server" Width="206px" CssClass="st-forminput" 
                                    Rows="3" ValidationGroup="service" Height="24px"></asp:TextBox>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </div>
                    <div class="half last">
                        <span class="st-labeltext">Minicomm Number</span>
                        <asp:TextBox ID="txtServiceContractValue0" runat="server" 
                            CssClass="st-forminput" Width="210px"></asp:TextBox>
                    </div>
                    <div class="clear">
                    </div>
                </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                        <span class="st-labeltext">Postcode</span>
                        <asp:UpdatePanel ID="upnlServiceEndDate" runat="server">
                            <ContentTemplate>
                                <asp:TextBox ID="KnownAs3" runat="server" Width="170px" CssClass="st-forminput" 
                                    Height="36px" Rows="3" ValidationGroup="service"></asp:TextBox>
                                <asp:LinkButton ID="LinkButton2" runat="server"> Lookup</asp:LinkButton>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </div>
                    <div class="half last">
                        <span class="st-labeltext level1-5">Primary Location</span>
                        <asp:CheckBox ID="chkServiceActive0" runat="server" AutoPostBack="True" />
                    </div>
                    <div class="clear">
                    </div>
                </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                        <span class="st-labeltext">City/Town</span>
                        <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                            <ContentTemplate>
                                <asp:TextBox ID="KnownAs4" runat="server" Width="201px" CssClass="st-forminput" 
                                    Rows="3" ValidationGroup="service" Height="28px"></asp:TextBox>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </div>
                    <div class="half last">
                        <span class="st-labeltext level1">Referral Process/Method</span>
                        <asp:DropDownList ID="DropDownList4" runat="server" CssClass="st-forminput"
                            Width="215px">
                            <asp:ListItem>--Select--</asp:ListItem>
                            <asp:ListItem>Referral Process 1</asp:ListItem>
                            <asp:ListItem>Referral Process 2</asp:ListItem>
                            <asp:ListItem>Referral Process 3</asp:ListItem>
                            <asp:ListItem>Referral Process 4</asp:ListItem>
                            <asp:ListItem>Referral Process 5</asp:ListItem>
                        </asp:DropDownList>
                    </div>
                    <div class="clear">
                    </div>
                </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                        <span class="st-labeltext">County</span>
                        <asp:UpdatePanel ID="UpdatePanel3" runat="server">
                            <ContentTemplate>
                                <asp:TextBox ID="KnownAs5" runat="server" Width="202px" CssClass="st-forminput" 
                                    Rows="3" ValidationGroup="service" Height="32px"></asp:TextBox>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </div>
                    <div class="half last">
                        <span class="st-labeltext level1-5">Primary Location</span>
                        <asp:CheckBox ID="chkServiceActive1" runat="server" AutoPostBack="True" />
                    </div>
                    <div class="clear">
                    </div>
                </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                        <span class="st-labeltext">Nation/Country</span>
                        <asp:DropDownList ID="cboReferralProcessMethod1" runat="server" Width="215px" 
                            CssClass="st-forminput">
                            <asp:ListItem>--Select--</asp:ListItem>
                            <asp:ListItem>Referral Process 1</asp:ListItem>
                            <asp:ListItem>Referral Process 2</asp:ListItem>
                            <asp:ListItem>Referral Process 3</asp:ListItem>
                            <asp:ListItem>Referral Process 4</asp:ListItem>
                            <asp:ListItem>Referral Process 5</asp:ListItem>
                        </asp:DropDownList>
                    </div>
                    <asp:UpdatePanel ID="UpdatePanel4" runat="server">
                    </asp:UpdatePanel>
                    <div class="clear">
                    </div>
                </div>
            </asp:Panel>
            <%-- pn2 --%><asp:Panel ID="DetailsPanel02" ClientIDMode="Static" runat="server">
                <div class="st-form-line-noleft">
                    <div class="half">
                        <span class="st-labeltext level1">Accreditation</span>
                        <div class="st-forminput left check-box-list">
                            <asp:CheckBoxList ID="chkServiceDisabilitiesCriterion0" runat="server" 
                                DataTextField="ItemName" DataValueField="Id">
                                <asp:ListItem>Service Disabilities Criterion 1</asp:ListItem>
                                <asp:ListItem>Service Disabilities Criterion 2</asp:ListItem>
                                <asp:ListItem>Service Disabilities Criterion 3</asp:ListItem>
                                <asp:ListItem>Service Disabilities Criterion 4</asp:ListItem>
                                <asp:ListItem>Service Disabilities Criterion 5</asp:ListItem>
                            </asp:CheckBoxList>
                        </div>
                    </div>
                    <div class="half last">
                        <span class="st-labeltext level1">JPC offices </span>
                        <div class="st-forminput left check-box-list">
                            <asp:CheckBoxList ID="chkServiceDisabilitiesCriterion" runat="server" DataTextField="ItemName"
                                DataValueField="Id">
                                <asp:ListItem>Service Disabilities Criterion 1</asp:ListItem>
                                <asp:ListItem>Service Disabilities Criterion 2</asp:ListItem>
                                <asp:ListItem>Service Disabilities Criterion 3</asp:ListItem>
                                <asp:ListItem>Service Disabilities Criterion 4</asp:ListItem>
                                <asp:ListItem>Service Disabilities Criterion 5</asp:ListItem>
                            </asp:CheckBoxList>
                        </div>
                    </div>
                    <div class="clear">
                    </div>
                </div>                
                <div class="st-form-line-noleft">
                    <div class="half">
                        <span class="st-labeltext level1">MediaContact</span>
                        <asp:CheckBox ID="CheckBox3" runat="server" AutoPostBack="True" />
                    </div>
                       <div class="half last">
                        <span class="st-labeltext level1-5">Primary Location</span>
                        <asp:CheckBox ID="CheckBox1" runat="server" AutoPostBack="True" />
                    </div>
                    <div class="clear">
                    </div>
                    </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                        <span class="st-labeltext level1">Media Contact Name</span>
                        <asp:TextBox ID="TextBox6" runat="server" Height="25px" Width="146px"></asp:TextBox>
                        <asp:LinkButton ID="LinkButton4" runat="server">Lookup</asp:LinkButton>
                    </div>
                           <div class="half last">
                        <span class="st-labeltext level1">Cetering Contact</span>
                        <asp:TextBox ID="TextBox12" runat="server" Height="25px" Width="146px"></asp:TextBox>
                        <asp:LinkButton ID="LinkButton5" runat="server">Lookup</asp:LinkButton>
                    </div>
                    <div class="clear">
                    </div>
                    </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                        <span class="st-labeltext level1">Accreditation</span>
                        <div class="st-forminput left check-box-list">
                            <asp:CheckBoxList ID="CheckBoxList4" runat="server" 
                                DataTextField="ItemName" DataValueField="Id">
                                <asp:ListItem>Service Disabilities Criterion 1</asp:ListItem>
                                <asp:ListItem>Service Disabilities Criterion 2</asp:ListItem>
                                <asp:ListItem>Service Disabilities Criterion 3</asp:ListItem>
                                <asp:ListItem>Service Disabilities Criterion 4</asp:ListItem>
                                <asp:ListItem>Service Disabilities Criterion 5</asp:ListItem>
                            </asp:CheckBoxList>
                        </div>
                    </div>
                    <div class="half last">
                        <span class="st-labeltext level1">Catering type</span>
                        <asp:DropDownList ID="DropDownList2" runat="server" CssClass="st-forminput"
                            Width="215px">
                            <asp:ListItem>--Select--</asp:ListItem>
                            <asp:ListItem>Referral Process 1</asp:ListItem>
                            <asp:ListItem>Referral Process 2</asp:ListItem>
                            <asp:ListItem>Referral Process 3</asp:ListItem>
                            <asp:ListItem>Referral Process 4</asp:ListItem>
                            <asp:ListItem>Referral Process 5</asp:ListItem>
                        </asp:DropDownList>
                    </div>
                    <div class="half last">
                        <span class="st-labeltext level1">IS/Network</span>
                        <asp:DropDownList ID="DropDownList3" runat="server" CssClass="st-forminput"
                            Width="215px">
                            <asp:ListItem>--Select--</asp:ListItem>
                            <asp:ListItem>Referral Process 1</asp:ListItem>
                            <asp:ListItem>Referral Process 2</asp:ListItem>
                            <asp:ListItem>Referral Process 3</asp:ListItem>
                            <asp:ListItem>Referral Process 4</asp:ListItem>
                            <asp:ListItem>Referral Process 5</asp:ListItem>
                        </asp:DropDownList>
                    </div>
                    <div class="clear">
                    </div>
                </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                        <span class="st-labeltext">Location Name</span>
                        <asp:TextBox ID="TextBox9" CssClass="st-forminput" runat="server" Width="210px"
                            ValidationGroup="service" Height="114px" TextMode="MultiLine"></asp:TextBox></div>
                    <asp:UpdatePanel ID="UpdatePanel8" runat="server">
                        <ContentTemplate>
                            <div class="half last">
                                <span class="st-labeltext level1-5">Client IT Facilities</span>
                                <asp:CheckBox ID="CheckBox7" runat="server" AutoPostBack="True"/>
                            </div>
                            <div class="half last">
                                <span class="st-labeltext level1-5">Client IT Facilities Detail</span>
                                <asp:TextBox ID="TextBox13" runat="server" Height="67px" TextMode="MultiLine" 
                                    Width="204px"></asp:TextBox>
                            </div>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                    <div class="clear">
                    </div>
                </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                     </div>
                            <div class="half last">
                                <span class="st-labeltext level1-5">Primary Location</span>
                                <asp:CheckBox ID="CheckBox9" runat="server" AutoPostBack="True"/>
                            </div>
                    <div class="clear">
                    </div>
                </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                     </div>
                            <div class="half last">
                                <span class="st-labeltext level1-5">Primary Location</span>
                                <asp:CheckBox ID="CheckBox4" runat="server" AutoPostBack="True"/>
                            </div>
                    <div class="clear">
                    </div>
                </div>
            </asp:Panel>
            <asp:Panel ID="DetailsPanel03" ClientIDMode="Static" runat="server">
                <div class="st-form-line-noleft">
                    <div class="half">
                        <span class="st-labeltext level1">Outreach Location</span>
                        <div class="st-forminput left check-box-list" 
                            style="width: 203px; height: 106px;">
                            <asp:CheckBoxList ID="chkIntervention" runat="server" DataTextField="ItemName" DataValueField="Id">
                                <asp:ListItem>Intervention 1</asp:ListItem>
                                <asp:ListItem>Intervention 2</asp:ListItem>
                                <asp:ListItem>Intervention 3</asp:ListItem>
                                <asp:ListItem>Intervention 4</asp:ListItem>
                                <asp:ListItem>Intervention 5</asp:ListItem>
                            </asp:CheckBoxList>
                        </div>
                    </div>
                    <div class="half last">
                        <span class="st-labeltext level1">Local hotel</span>
                        <div class="st-forminput left check-box-list" 
                            style="width: 205px; height: 105px;">
                            <asp:CheckBoxList ID="chkTargetClient" runat="server" DataTextField="ItemName" DataValueField="Id">
                                <asp:ListItem>Target Client 1</asp:ListItem>
                                <asp:ListItem>Target Client 2</asp:ListItem>
                                <asp:ListItem>Target Client 3</asp:ListItem>
                                <asp:ListItem>Target Client 4</asp:ListItem>
                                <asp:ListItem>Target Client 5</asp:ListItem>
                            </asp:CheckBoxList>
                        </div>
                    </div>
                    <div class="clear">
                    </div>
                </div>
 <div class="st-form-line-noleft">
                    <div class="half">
                        <span class="st-labeltext level1">Treval Detail </span>
                        <asp:TextBox ID="TextBox1" runat="server" Height="25px" Width="146px"></asp:TextBox>
                    </div>
                    <div class="half last">
                        <span class="st-labeltext level1">Vistor Paking Onsite</span>
                        <asp:CheckBox ID="CheckBox10" runat="server" />
                        </div>
                    <div class="clear">
                    </div>
                    </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                        <span class="st-labeltext level1">Treval Nearest-Bus </span>
                        <asp:TextBox ID="TextBox4" runat="server" Height="25px" Width="146px"></asp:TextBox>
                    </div>
                    <div class="half last">
                        <span class="st-labeltext level1">Vistor Paking Spaces</span>
                        <asp:TextBox ID="TextBox5" runat="server" Height="25px" Width="146px"></asp:TextBox>
                    </div>
                    <div class="clear">
                    </div>
                    </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                        <span class="st-labeltext level1">Treval Nearest-Rail</span>
                        <asp:TextBox ID="TextBox2" runat="server" Height="25px" Width="146px"></asp:TextBox>
                    </div>
                    <div class="clear">
                    </div>
                    </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                        <span class="st-labeltext level1">Treval Nearest-Airport</span>
                        <asp:TextBox ID="TextBox8" runat="server" Height="25px" Width="146px"></asp:TextBox>
                    </div>
                           <div class="half last">
                        <span class="st-labeltext level1">Visistor Parking Altemative</span>
                        <asp:TextBox ID="TextBox10" runat="server" Height="25px" Width="146px"></asp:TextBox>
                    </div>
                    <div class="clear">
                    </div>
                    </div> 
                <div class="st-form-line-noleft">
                <div class="half">
                        <span class="st-labeltext level1">Host visits</span>
                        <asp:CheckBox ID="CheckBox11" runat="server" />
                    </div>
                    <div class="clear">
                    </div>
                    </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                        <span class="st-labeltext level1">Media Contact Name</span>
                        <asp:TextBox ID="TextBox11" runat="server" Height="25px" Width="146px"></asp:TextBox>
                        <asp:LinkButton ID="LinkButton10" runat="server">Lookup</asp:LinkButton>
                    </div>
                    <div class="clear">
                    </div>
                    </div>
            </asp:Panel>
        </div>
    </div>
</asp:Content>
